package com.woniuxy.project115.kaer.tenant.service;

import com.woniuxy.project115.kaer.tenant.entity.AppointmentItem;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.project115.kaer.tenant.param.AppointmentItemParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author HuH
 * @since 2025年02月18日
 */
public interface AppointmentItemService extends IService<AppointmentItem> {

    void modifyAppointmentItem(AppointmentItemParam param) throws Exception;

    void addAppointmentItem(AppointmentItemParam param) throws Exception;

    void removeAppointmentItem(Integer itemId) throws Exception;

    void startServiceItem(Integer itemId, String operator) throws Exception;

    void endServiceItem(Integer itemId, String operator) throws Exception;

    List<AppointmentItem> getAppointmentItem(Integer appointmentId) throws Exception;
}
